PEAddParameterDefaultValue

Use PEAddParameterDefaultValue to add a value to the group of default values for the specified parameter in a report.

C Syntax
BOOL CRPE_API PEAddParameterDefaultValue (
        short printJob,
        const char FAR *parameterFieldName,
        const char FAR *reportName,
        PEValueInfo FAR *valueInfo );
Parameters

printJob

Specifies the print job to which you want to add a parameter default value.

parameterFieldName

Specifies a pointer to the name of the parameter field to which the default value will be added.

reportName

Specifies a pointer to the report name. See Remarks below.

valueInfo

Specifies a pointer to PEValueInfo which will contain the added default value.

Returns
Remarks

Regarding parameter reportName:

VB Syntax
Declare Function PEAddParameterDefaultValue Lib "crpe32.dll" ( _
    ByVal printJob As Integer, ByVal parameterFieldName As String, _
    ByVal reportName As String, valueInfo As PEValueInfo ) As Integer
Delphi Syntax
procedure PEAddParameterDefaultValue (
    printJob: smallint;
    const parameterFieldName: PChar;
    const reportName: PChar;
    var valueInfo: PEValueInfo
    ): BOOL stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com